{extend name="layout_modal" /}
{block name="content"}
<!-- Content Header (Page header) -->
<section class="content" style="padding-top:0px;">
  <div class="row">
    <div class="box">
      <!-- /.box-header -->
      <!-- form start -->
      <form role="form" action="{:url('data_update')}">
        <div class="box-body">
          <div class="form-group">
            <label for="exampleInputEmail1">账号类型</label>
            <input type="text" class="form-control" placeholder="账号类型" name=""
              value="{$authgroup[$info.roleid]['title']}" readonly>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">用户名</label>
            <input type="text" class="form-control" placeholder="用户名" name="username" value="{$info.username}">
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">密码</label>
            <input type="password" class="form-control" placeholder="密码" name="password">
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">确认密码</label>
            <input type="password" class="form-control" placeholder="确认密码" name="repassword">
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">姓名</label>
            <input type="text" class="form-control" placeholder="姓名" name="realname" value="{$info.realname}">
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">手机号</label>
            <input type="text" class="form-control" placeholder="手机号" name="phone" value="{$info.phone}">
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">邮箱</label>
            <input type="text" class="form-control" placeholder="邮箱" name="email" value="{$info.email}">
          </div>
        </div>
        <input type="hidden" name="userid" value="{$info.userid}">
        <!-- /.box-body -->
      </form>
    </div>
  </div>
</section>
<!-- /.content -->
{/block}